<script setup>
import router from "@/router/index.js";

function toFirst() {
  router.push({
    path: '/first'
  })
}

function toSecond() {
  router.push({
    path: '/second'
  })
}

function toThird() {
  router.push({
    path: '/third'
  })
}

function toOverTime() {
  router.push({
    path: '/overtime'
  })
}
</script>

<template>
  <div class="container">
    <div class="year">2023</div>
    <div class="title">第五届“求知杯”信息检索大赛</div>
    <div class="commandList">
      <div class="command" @click="toFirst">第一轮：新手升级</div>
      <div class="command" @click="toSecond">第二轮：抢占先机</div>
      <div class="command" @click="toThird">第三轮：风险投资</div>
      <div class="command" @click="toOverTime">加时赛</div>
    </div>
  </div>
</template>

<style lang="scss" scoped>
@import "@/assets/base";

.container {
  justify-content: center;

  .year {
    color: #CCA476;
    font-size: 150px;
    font-weight: 600;
  }

  .title {

  }

  .commandList {
    margin-top: 50px;
    width: 100%;
    display: flex;
    justify-content: space-around;


    .command {
      font-size: 30px;
      border-radius: 10px;
      border: 1px solid $theme-color;
      padding: 10px 20px;
    }
  }
}
</style>